home *** CD-ROM | disk | FTP | other *** search
- [ FLANGE ]^C^C(Setq P1 (Getpoint+
- "Enter center of flange: "));\+
- (Setq OR (Getdist P1 "Outside radius: "));\+
- Circle;!P1;!OR;+
- (Setq IR (Getdist P1 "Inside radius: "));\+
- Circle;!P1;!IR;+
- (Setq BC (Getdist P1 "Bolt circle radius: "));\+
- Circle;!P1;!BC;+
- (Setq SH (Getreal "Bolt hole diameter: "));\+
- (Setq NHI (Getint "Number of bolt holes: "));\+
- (Setq NH (Float NHI));+
- (Setq SA (Getangle P1+
- "Starting angle of first hole: "));\+
- Circle;(Polar P1 SA BC);D;!SH;+
- Array;L;;C;!P1;(/ 360.0 NH);!NHI;;